<% layout('/layouts/default.html', {title: '私教管理', libs: ['validate','fileupload']}){ %>
<div class="main-content">
	<div class="box box-main">
		<#form:form id="inputForm" model="${coach}" action="" method="post" class="form-horizontal">
			<div class="box-body">
				<div class="form-unit">${text('基本信息')}</div>
				<#form:hidden path="id"/>
				<div class="row">
					<div class="col-xs-6">
						<div class="form-group">
							<label class="control-label col-sm-4" title="">
								${text('姓名')}：<i class="fa icon-question hide"></i></label>
							<div class="col-sm-8">
								<span>${coach.name}</span>
							</div>
						</div>
					</div>
					<div class="col-xs-6">
						<div class="form-group">
							<label class="control-label col-sm-4" title="">
								${text('手机号')}：<i class="fa icon-question hide"></i></label>
							<div class="col-sm-8">
								<span>${coach.mobile}</span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-xs-6">
						<div class="form-group">
							<label class="control-label col-sm-4" title="">
								${text('性别')}：<i class="fa icon-question hide"></i></label>
							<div class="col-sm-8">
								<span>${coach.sex}</span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-xs-12">
						<div class="form-group">
							<label class="control-label col-sm-2">${text('救生员证')}：</label>
							<div class="col-sm-10">
								<#form:fileupload id="uploadImage" bizKey="${coach.id}" bizType="lifeguard_image"
									uploadType="image" class="" readonly="true"/>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-xs-12">
						<div class="form-group">
							<label class="control-label col-sm-2">${text('教练证')}：</label>
							<div class="col-sm-10">
								<#form:fileupload id="uploadImage1" bizKey="${coach.id}" bizType="coach_image"
									uploadType="image" class="" readonly="true"/>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="box-footer">
				<div class="row">
					<div class="col-sm-offset-2 col-sm-10">
						<button type="button" class="btn btn-sm btn-default" id="btnCancel" onclick="js.closeCurrentTabPage()"><i class="fa fa-reply-all"></i> ${text('关 闭')}</button>
					</div>
				</div>
			</div>
		</#form:form>
	</div>
</div>
<% } %>
